package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.Dehydration;
import com.zhijian.medical.entity.vo.request.DehydrationSearchVo;
import com.zhijian.medical.entity.vo.response.DehydrationVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DehydrationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Dehydration record);

    int insertSelective(Dehydration record);

    Dehydration selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Dehydration record);

    int updateByPrimaryKey(Dehydration record);

    int count(DehydrationSearchVo dehydrationSearchVo);

    List<DehydrationVo> selectList(DehydrationSearchVo dehydrationSearchVo);

    DehydrationVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<Dehydration> entities);
}